﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp14
{
    //超人、小鸟、飞机
    class Program
    {
        static void Main(string[] args)
        {
            SuperMan S = new SuperMan("超人");
            S.Say();
            S.Eating();
            S.Fly();
            S.Land();
            S.takeoff();
            Console.WriteLine("-----------------------------------");


            Bird B = new Bird("鸟");
            B.Say();
            B.Eating();
            B.Fly();
            B.Land();
            B.LayEggs();
            B.takeoff();
            Console.WriteLine("-----------------------------------");


            Plane P = new Plane("可以载美女的飞机");
            S.Say();
            P.takeoff();
            P.Land();
            P.Fly();
            P.Manned();
        }
    }
}
